package org.tis.tools.abf.module.sys.entity.vo;

import lombok.Data;
import org.tis.tools.abf.module.sys.entity.SysRunConfig;

import java.util.Date;

/**
 * Created by chenchao
 * Created on 2018/8/28 15:46
 */
@Data
public class SysRunConfigDetail {

    private String guid;

    private String guidApp;

    private String appName;

    private String groupName;

    private String keyName;

    private String valueFrom;

    private String value;

    private String dictItemName;

    private String dictGuid;

    private String description;

    private Date createtime;

    private Date lastupdate;

    private String updator;

    private String dataStatus;

    public SysRunConfigDetail(){}

    public SysRunConfigDetail(SysRunConfig sysRunConfig,String appName,String dictItemName,String dictGuid){
        this.guid = sysRunConfig.getGuid() ;
        this.guidApp = sysRunConfig.getGuidApp() ;
        this.appName = appName ;
        this.groupName = sysRunConfig.getGroupName() ;
        this.keyName = sysRunConfig.getKeyName() ;
        this.valueFrom = sysRunConfig.getValueFrom() ;
        this.value = sysRunConfig.getValue() ;
        this.description = sysRunConfig.getDescription() ;
        this.createtime = sysRunConfig.getCreatetime() ;
        this.lastupdate = sysRunConfig.getLastupdate() ;
        this.updator = sysRunConfig.getUpdator() ;
        this.dataStatus = sysRunConfig.getDataStatus() ;
        this.dictItemName = dictItemName;
        this.dictGuid = dictGuid;
    }

}
